a = 0
while a < 10:
    print(a)
    if a == 3:
        break
    a += 1